<?php

require_once('inc.config.php');
$qgid = $_GET["qgid"];

if(!isset($qgid)){
	header("Location:agent_admin_qglist.php");
	exit;
}

/*$aid = $myHouse->getPublisherIdByHid($rid, 1);

if(__login__==0||__user_prop__!=0||$aid!=__user_id__){
	header("Location:index.php");
	exit;
}*/

$useTemplate   = 'agent_admin_qgedit.html';

$page = new QuickSkin ($useTemplate);

template_ini($page);

$info = $myQgqzhouse->getQghouseInfo($qgid);

$page->assign($info);

require_once("agent_admin_left.php");

$page->output();


ob_end_flush();

?>
